package org.jeecg.modules.demo.excePlan.service;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.demo.excePlan.entity.ExcePlan;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Description: exce_plan
 * @Author: jeecg-boot
 * @Date:   2023-12-26
 * @Version: V1.0
 */
public interface IExcePlanService extends IService<ExcePlan> {

    /**
     * 通过excel导入数据(ExcePlan特性)
     *
     * @param request
     * @param response
     * @return
     */
    Result<?> importExcelExcePlan(HttpServletRequest request, HttpServletResponse response);

    /**
     * 验证excel的正确性，并输出错误消息文本
     * @param request
     * @param response
     * @return
     */
    Result<?> verifyExcel(HttpServletRequest request, HttpServletResponse response);
}
